package com.huadi.firematerialident.service;

import com.huadi.firematerialident.dao.ReviewDaoImpl;
import com.huadi.firematerialident.po.Admin;
import com.huadi.firematerialident.po.Review;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface ReviewService {

    public int addReview(Review review);
    public int updateReview(Review review);
    public int deleteReviewByID(String reviewID);
    public List<Map<String,Object>> selectReviewByID(String reviewID);
    public List<Map<String,Object>> getAllReview();
    public List<Map<String,Object>> getMyReview();
    public Review selectReviewByID_class(String id);
    public List<Map<String,Object>> selectReviewByID1(String ApsID);
}
